package com.numberone.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zzc
 * @since 2019-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ly_log")
public class Log implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("accountName")
    private String accountName;

    @TableField("module")
    private String module;

    @TableField("methods")
    private String methods;

    @TableField("actionTime")
    private String actionTime;

    @TableField("userIP")
    private String userIP;

    @TableField("operTime")
    private LocalDateTime operTime;

    @TableField("description")
    private String description;


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public Log setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getAccountName() {
        return accountName;
    }

    public Log setAccountName(String accountName) {
        this.accountName = accountName;
        return this;
    }

    public String getModule() {
        return module;
    }

    public Log setModule(String module) {
        this.module = module;
        return this;
    }

    public String getMethods() {
        return methods;
    }

    public Log setMethods(String methods) {
        this.methods = methods;
        return this;
    }

    public String getActionTime() {
        return actionTime;
    }

    public Log setActionTime(String actionTime) {
        this.actionTime = actionTime;
        return this;
    }

    public String getUserIP() {
        return userIP;
    }

    public Log setUserIP(String userIP) {
        this.userIP = userIP;
        return this;
    }

    public LocalDateTime getOperTime() {
        return operTime;
    }

    public Log setOperTime(LocalDateTime operTime) {
        this.operTime = operTime;
        return this;
    }

    public String getDescription() {
        return description;
    }

    public Log setDescription(String description) {
        this.description = description;
        return this;
    }
}
